{extend name="$_admin_layout"}

{block name="tpl_vars"}
    {assign name="page_title" value="微信设置" /}
{/block}

{block name="main-content"}
    <form id="config_form" class="form form-manager">
        <div class="box box-default no-heading">
            <div class="box-body">

                <div class="row">
                    <div class="col-sm-12">
                        {:helper('admin/form')->render_group('appid', config('wechat_module.appid'), 'text', 'AppID')}
                        {:helper('admin/form')->render_group('appsecret', config('wechat_module.appsecret'), 'text', 'AppSecret')}
                        {:helper('admin/form')->render_group('encodingaeskey', config('wechat_module.encodingaeskey'), 'text', 'EncodingAESKey')}
                        {:helper('admin/form')->render_group('token', config('wechat_module.token'), 'text', 'Token')}
                        {:helper('admin/form')->render_submit_and_cancel(request()->url(), $_controller->url('index'))}
                    </div>
                </div>

            </div><!-- /.box-body -->
        </div><!-- /.box -->
    </form>
{/block}